package com.hit.msmService;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;


@EnableDiscoveryClient//nacos注册
@EnableFeignClients
@ComponentScan(basePackages = "com.hit")//使用本module外的service_base,所以需要使用@ComponentScan标签
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)//不自动加载数据库信息
public class ServiceMsmApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceMsmApplication.class);
    }
}
